package com.fulihui.wgj.facade.request.wx48;

import com.fulihui.common.request.rpc.AppRequest;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 微信48小时发送记录保存Request
 *
 * @author wang_wx
 * @date 2018-07-17
 */
@Getter
@Setter
public class Wx48NewsLogSaveRequest extends AppRequest {

    /**
     * 备注名称
     */
    @NotBlank(message = "备注名称不能为空")
    private String name;

    /**
     * 关联48小时信息表id
     */
    @NotNull(message = "newsId不能为空")
    private Long newsId;

    /**
     * 定时时间
     */
    private Date jobTime;

    /**
     * 发送条件-对象
     */
    Wx48NewsCrowdRequest wx48NewsCrowdRequest;

    /**
     * 发送条件描述-前端拼接
     */
    private String sendConditionDesc;

}